package com.googlecode.continuity.plugin.syntaxhighlight.client;

import java.util.ArrayList;

import com.google.gwt.user.client.Event;

/**
 * SelectedLinesListenerCollection
 *
 * @author Peter Schmitt <aragos@aragos.de>
 */
public class SelectedLinesListenerCollection extends ArrayList {
  public void fireLinesSelected(Event cause, int first, int last) {
    for (int i = 0; i < size(); i++) {
      ((SelectedLinesListener) get(i)).onLinesSelected(cause, first, last);
    }
  }
}
